#ifndef __tim_H
#define __tim_H

#include "stm32h7xx.h"

void TIM_PWM_DMA_Init(TIM_TypeDef* TIMx,unsigned int arr,unsigned short psc);
void TIM_PWM_Init(TIM_TypeDef* TIMx,unsigned int arr,unsigned short psc);
void TIM_Int_Init(TIM_TypeDef* TIMx,unsigned int arr,unsigned short psc);


void TIM3_PWM_Init(void);
void TIM3_Int_Init(void);
void TIM2_TRGO_Init(void);
#endif /*__ tim_H */
